using System;
using System.Collections.Generic;
using System.Text;

namespace MonoCash.ObjectModel
{
    class AccountType : ObjectModel
    {
        public static List<AccountType> AccountTypes
        {
            get
            {
                List<AccountType> temp = new List<AccountType>();
                AccountType a = new AccountType();
                foreach (ObjectModel o in a.Objects)
                {
                    temp.Add((AccountType)o);
                }
                return temp;
            }
        }

        
        public AccountType()
            : base()
        {

        }
        public AccountType(object accountTypeId)
            : base(accountTypeId)
        {

        }
        
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; SyncToBackend(); }
        }

	
	
    }
}
